
<div id="style_recent_list">
<ul>
{{if $styles}}
			<?PHP foreach($styles as $k => $item_all) {				$item = $item_all['EditorStyle'];   		?>
<li class="clearfix" data-id="{{$item['id']}}" title="{{$item['name']}},{{$item_all['Favorite']['name']}}">

{{if $item['brush_image']}}
	<img data-id="{{$item['id']}}" data-type="brushImage" class="lazy hoverimg" src="{{$item['coverimg']}}" />
{{elseif $item['cate_id']>=50}}
	{{if $item['cover_width']}}
		<section class="_135editor" data-tools="135编辑器" data-id="{{$item['id']}}"><section style="text-align:center;"><section style="display:inline-block;width:{{$item['cover_width']}}px;"><img data-id="{{$item['id']}}" data-role="guide-img" style="max-width:100%;width:{{$item['cover_width']}}px;" title="{{$item['name']}}" src="{{$item['coverimg']}}" /></section></section></section>
	{{else}}
		<section class="_135editor" data-tools="135编辑器" data-id="{{$item['id']}}"><p style="text-align:center;"><img data-id="{{$item['id']}}" data-role="guide-img" title="{{$item['name']}}" src="{{$item['coverimg']}}" /></p></section>
	{{/if}}
{{else}}
	<section class="_135editor" data-tools="135编辑器" data-id="{{$item['id']}}">{{$item['content']}}</section>
	
{{/if}}
</li>
			<?php } ?>
{{else}}
	<li>无相关样式</li>
{{/if}}
</ul>
			
</div>